package vashion.azeroth.core.personal.tran.pojo;

import java.math.BigDecimal;
import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnore;

import vashion.azeroth.common.date.DateUtil;
import vashion.azeroth.core.pojo.BaseObject;
import vashion.azeroth.core.support.StatusNameTransform;

public class PersonalReturnGoodsOrder extends BaseObject {

	private static final long serialVersionUID = 8932243378472559417L;

	private String returnGoodsNo;

    private String disburseNo;

    private Long itemId;

    private Long skuId;

    private Integer quantity;

    private BigDecimal tax;

    private Integer fare;

    private BigDecimal rate;

    private Integer status;
    
    private Long refundAmount;
    
    private Date timeAdd;
    @JsonIgnore
    private Date timeEdit;

    private String remark;
    
    private String logisticsCompany;
    
    private String logisticsNo;
    
    private Long memberId;
    
    public String getTimeAddStr() {
    	return DateUtil.ymdhmsFormat(timeAdd);
    }
    
    public String getTimeEditStr() {
    	return DateUtil.ymdhmsFormat(timeEdit);
    }

    public String getReturnGoodsNo() {
        return returnGoodsNo;
    }

    public void setReturnGoodsNo(String returnGoodsNo) {
        this.returnGoodsNo = returnGoodsNo;
    }
    
    public String getStatusName() {
    	return StatusNameTransform.getReturnGoodsOrderStatusName(status);
    }

    public String getDisburseNo() {
        return disburseNo;
    }

    public void setDisburseNo(String disburseNo) {
        this.disburseNo = disburseNo;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public Integer getFare() {
        return fare;
    }

    public void setFare(Integer fare) {
        this.fare = fare;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public Date getTimeAdd() {
		return timeAdd;
	}

	public void setTimeAdd(Date timeAdd) {
		this.timeAdd = timeAdd;
	}

	public Date getTimeEdit() {
		return timeEdit;
	}

	public void setTimeEdit(Date timeEdit) {
		this.timeEdit = timeEdit;
	}

	public Long getRefundAmount() {
		return refundAmount;
	}

	public void setRefundAmount(Long refundAmount) {
		this.refundAmount = refundAmount;
	}

	public String getLogisticsCompany() {
		return logisticsCompany;
	}

	public void setLogisticsCompany(String logisticsCompany) {
		this.logisticsCompany = logisticsCompany;
	}

	public String getLogisticsNo() {
		return logisticsNo;
	}

	public void setLogisticsNo(String logisticsNo) {
		this.logisticsNo = logisticsNo;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

}